Draft
Conversation
Replace `s.dependency "RiveRuntime"` with `spm_dependency` pointing at rive-app/rive-ios on GitHub. The version is still sourced from the existing resolution chain (env var → global var → Podfile.properties.json → package.json `runtimeVersions.ios`), so no version pinning changes are needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Using exactVersion instead of upToNextMajorVersion ensures the SPM package resolves to the same version declared in package.json. Users can still override via the existing env var / global / Podfile.properties.json mechanism. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CocoaPods does not automatically embed dynamic frameworks resolved via spm_dependency. Add a post_install step to both example Podfiles that appends the RiveRuntime embed call to every target's frameworks.sh script. Targets are discovered dynamically so no target name is hardcoded. Consumers of this library will need the same post_install hook in their own Podfiles. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pend Instead of requiring every consumer to add a post_install hook to their Podfile, hook into run_podfile_post_install_hooks directly from the podspec using the same Pod::Installer.prepend pattern as the Xcode 26 modulemap fix. Removes the duplicate workaround from both example Podfiles. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status
On hold as not Xcode 26 comaptible
Summary
RiveRuntimevia SPM (rive-app/rive-ios) instead of as a CocoaPods podexactVersionand sourced frompackage.json#runtimeVersions.ios(overridable via env var, global, orPodfile.properties.json)RiveSPMEmbedFixhooks intoPod::Installerpost-install to embed the SPM-resolvedRiveRuntime.frameworkautomatically — no consumer Podfile changes neededFixes Xcode 26 ODR errors: RiveRuntime is now compiled from source alongside the app, eliminating the Swift version mismatch between the prebuilt XCFramework and local podsNot true this does not work with Xcode 26